package work.timejay.user.entity.books;

import work.timejay.common.SuperModel;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * book类型表
 * </p>
 *
 * @author 王文杰
 * @since 2023-11-23
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("book_type")
public class BookType extends SuperModel<BookType> {

    private static final long serialVersionUID = 1L;

    /**
     * 名称
     */
    @TableField("book_name")
    private String bookName;

    /**
     * path
     */
    @TableField("book_path")
    private String bookPath;

    /**
     * 类型
     */
    @TableField("type")
    private Long type;

    /**
     * 1 上线 0 下线
     */
    @TableField("status")
    private Boolean status;

    /**
     * 排序
     */
    @TableField("order_num")
    private Long orderNum;


    public static final String BOOK_NAME = "book_name";

    public static final String BOOK_PATH = "book_path";

    public static final String TYPE = "type";

    public static final String STATUS = "status";

    public static final String ORDER_NUM = "order_num";

    @Override
    protected Serializable pkVal() {
        return null;
    }

}
